package com.we.wecc.aw.db.mapper;

import com.we.wecc.aw.db.model.AwardWin;
import com.we.wecc.aw.db.model.AwardWinExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface AwardWinMapper {
    long countByExample(AwardWinExample example);

    int deleteByExample(AwardWinExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AwardWin record);

    int insertSelective(AwardWin record);

    List<AwardWin> selectByExampleWithRowbounds(AwardWinExample example, RowBounds rowBounds);

    List<AwardWin> selectByExample(AwardWinExample example);

    AwardWin selectByPrimaryKey(Integer id);

    AwardWin selectByPrimaryAwardId(Integer awardId);

    int updateByExampleSelective(@Param("record") AwardWin record, @Param("example") AwardWinExample example);

    int updateByExample(@Param("record") AwardWin record, @Param("example") AwardWinExample example);

    int updateByPrimaryKeySelective(AwardWin record);

    int updateByPrimaryKey(AwardWin record);
}